home *** CD-ROM | disk | FTP | other *** search
- /*
- * @(#)locale_str.h 1.7 97/01/24
- *
- * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the confidential and proprietary information of Sun
- * Microsystems, Inc. ("Confidential Information"). You shall not
- * disclose such Confidential Information and shall use it only in
- * accordance with the terms of the license agreement you entered into
- * with Sun.
- *
- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
- * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
- * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
- * THIS SOFTWARE OR ITS DERIVATIVES.
- *
- * CopyrightVersion 1.1_beta
- *
- */
- /*
- * Windows language string to ISO639 string mapping table
- */
- static char *language_names[] = {
- "arabic", "ar", /* Arabic */
- "belorussian", "be", /* Belorussian */
- "bulgarian", "bg", /* Bulgarian */
- "catalan", "ca", /* Catalan */
- "csy", "cs", /* Czech */
- "czech", "cs",
- "dan", "da", /* Danish */
- "danish", "da",
- "dea", "de", /* German */
- "des", "de",
- "deu", "de",
- "german", "de",
- "german-austrian", "de",
- "german-swiss", "de",
- "swiss", "de",
- "ell", "el", /* Greek */
- "greek", "el",
- "american", "en", /* English */
- "american english", "en",
- "american-english", "en",
- "australian", "en",
- "canadian", "en",
- "ena", "en",
- "enc", "en",
- "eng", "en",
- "english", "en",
- "english-american", "en",
- "english-aus", "en",
- "english-can", "en",
- "english-nz", "en",
- "english-uk", "en",
- "english-us", "en",
- "english-usa", "en",
- "enu", "en",
- "enz", "en",
- "uk", "en",
- "us", "en",
- "usa", "en",
- "esm", "es", /* Spanish */
- "esn", "es",
- "esp", "es",
- "spanish", "es",
- "spanish-mexican", "es",
- "spanish-modern", "es",
- "estonian", "et", /* Estonian */
- "fin", "fi", /* Finnish */
- "finnish", "fi",
- "fra", "fr",
- "frb", "fr", /* French */
- "frc", "fr",
- "french", "fr",
- "french-belgian", "fr",
- "french-canadian", "fr",
- "french-swiss", "fr",
- "hebrew", "he", /* Hebrew */
- "croatian", "hr", /* Croatian */
- "hun", "hu", /* Hungarian */
- "hungarian", "hu",
- "icelandic", "is", /* Icelandic */
- "isl", "is",
- "ita", "it", /* Italian */
- "italian", "it",
- "italian-swiss", "it",
- "its", "it",
- "japanese", "ja", /* Japanese */
- "jpn", "ja",
- "kor", "ko", /* Korean */
- "korean", "ko",
- "lithuanian", "lt", /* Lithuanian */
- "latvian", "lv", /* Latvian */
- "macedonian", "mk", /* Macedonian */
- "belgian", "nl", /* Dutch */
- "dutch", "nl",
- "dutch-belgian", "nl",
- "nlb", "nl", /* English */
- "nld", "nl",
- "non", "no", /* Norwegian */
- "nor", "no",
- "norwegian", "no",
- "norwegian-bokmal", "no",
- "norwegian-nynorsk","no",
- "plk", "pl", /* Polish */
- "polish", "pl",
- "portuguese", "pt", /* Portuguese */
- "portuguese-brazilian","pt",
- "ptb", "pt",
- "ptg", "pt",
- "romanian", "ro", /* Romanian */
- "rus", "ru", /* Russian */
- "russian", "ru",
- "sky", "sk", /* Slovak */
- "slovak", "sk",
- "slovene", "sl", /* Slovene */
- "albanian", "sq", /* Albanian */
- "serbian", "sr", /* Serbian */
- "sve", "sv", /* Swedish */
- "swedish", "sv",
- "trk", "tr",
- "turkish", "tr", /* Turkish */
- "chinese", "zh", /* Chinese */
- "chinese(prc)", "zh",
- "chinese(taiwan)", "zh",
- "chinese-simplified","zh",
- "chinese-traditional","zh",
- "chs", "zh",
- "cht", "zh",
- "",
- };
-
- /*
- * Windows country string to ISO3166 two characters string mapping table
- */
- static char *region_names[] = {
- "austria", "AT", /* Austria */
- "aus", "AU", /* Australia */
- "australia", "AU",
- "bel", "BE", /* Belgium */
- "belgium", "BE",
- "bra", "BR", /* Brazil */
- "brazil", "BR",
- "can", "CA", /* Canada */
- "canada", "CA",
- "cze", "CZ", /* Czech Republic */
- "czech", "CZ",
- "denmark", "DK", /* Denmark */
- "dnk", "DK",
- "fin", "FI", /* Finland */
- "finland", "FI",
- "fra", "FR", /* France */
- "france", "FR",
- "deu", "DE", /* Germany */
- "germany", "DE",
- "grc", "GR", /* Greece */
- "greece", "GR",
- "hkg", "HK", /* Hong Kong */
- "hong kong", "HK",
- "hong-kong", "HK",
- "hun", "HU", /* Hungary */
- "hungary", "HU",
- "iceland", "IS", /* Iceland */
- "isl", "IS",
- "ireland", "IE", /* Ireland */
- "irl", "IE",
- "ita", "IT", /* Italy */
- "italy", "IT",
- "japan", "JP", /* Japan */
- "jpn", "JP",
- "mex", "MX", /* Mexico */
- "mexico", "MX",
- "nld", "NL", /* Netherlands */
- "holland", "NL",
- "netherlands", "NL",
- "new zealand", "NZ", /* New Zealand */
- "new-zealand", "NZ",
- "nz", "NZ",
- "nzl", "NZ",
- "nor", "NO", /* Norway */
- "norway", "NO",
- "china", "CN", /* People's Republic of China */
- "chn", "CN",
- "pr china", "CN",
- "pr-china", "CN",
- "people's republic of china", "CN",
- "pol", "PL", /* Poland */
- "poland", "PL",
- "prt", "PT",
- "portugal", "PT",
- "rus", "RU", /* Russia */
- "russia", "RU",
- "sgp", "SG", /* Singapore */
- "singapore", "SG",
- "svk", "SK", /* Slovak Republic */
- "slovak", "SK",
- "kor", "KO", /* South Korea */
- "korea", "KO",
- "south korea", "KO",
- "south-korea", "KO",
- "esp", "ES", /* Spain */
- "spain", "ES",
- "swe", "SE", /* Sweden */
- "sweden", "SE",
- "che", "CH", /* Switzerland */
- "switzerland", "CH",
- "taiwan", "TW", /* Taiwan */
- "twn", "TW",
- "tur", "TR", /* Turkey */
- "turkey", "TR",
- "britain", "GB", /* United Kingdom */
- "england", "GB",
- "gbr", "GB",
- "great britain", "GB",
- "uk", "GB",
- "united kingdom", "GB",
- "united-kingdom", "GB",
- "america", "US", /* United States of America */
- "united states", "US",
- "united-states", "US",
- "us", "US",
- "usa", "US",
- "",
- };
-
- /*
- * Windows locale string to Encoding converter
- * default file.encoding is "8859_1".
- */
- static char *encoding_names[] = {
- "ar", "Cp1256",
- "be", "Cp1251",
- "bg", "Cp1251",
- "cs", "Cp1250",
- "el", "Cp1253",
- "et", "Cp1257",
- "he", "Cp1255",
- "hu", "Cp1250",
- "ja", "SJIS",
- "ko", "KSC5601",
- "lt", "Cp1257",
- "lv", "Cp1257",
- "mk", "Cp1251",
- "pl", "Cp1250",
- "ro", "Cp1250",
- "ru", "Cp1251",
- "sh", "Cp1250",
- "sk", "Cp1250",
- "sl", "Cp1250",
- "sq", "Cp1250",
- "sr", "Cp1251",
- "tr", "Cp1254",
- "uk", "Cp1251",
- "zh", "GB2312",
- "zh_TW", "Big5",
- "",
- };
-
- /*
- * Windows long TimeZone string to
- * three characters representation table.
- */
- static char *timezone_names[] = {
- "GMT Standard Time", "GMT",
- "Romance Standard Time", "ECT",
- "Egypt Standard Time", "EET",
- "Saudi Arabia Standard Time", "EAT",
- "Iran Standard Time", "MET",
- "Arabian Standard Time", "NET",
- "West Asia Standard Time", "PLT",
- "India Standard Time", "IST",
- "Central Asia Standard Time", "BST",
- "Bangkok Standard Time", "VST",
- "China Standard Time", "CTT",
- "Tokyo Standard Time", "JST",
- "Cen. Australia Standard Time", "ACT",
- "Sydney Standard Time", "AET",
- "Central Pacific Standard Time", "SST",
- "New Zealand Standard Time", "NST",
- "Samoa Standard Time", "MIT",
- "Hawaiian Standard Time", "HST",
- "Alaskan Standard Time", "AST",
- "Pacific Standard Time", "PST",
- "US Mountain Standard Time", "MST",
- "Central Standard Time", "CST",
- "Eastern Standard Time", "EST",
- "Atlantic Standard Time", "PRT",
- "Newfoundland Standard Time", "CNT",
- "SA Eastern Standard Time", "AGT",
- "E. South America Standard Time", "BET",
- "Azores Standard Time", "CAT",
- "",
- };
-
-